package com.indusfo.spc.pojo;

import com.indusfo.spc.common.pojo.BasePojo;

/**
 * 设备保养计划pojo
 */
public class MaintainPlan extends BasePojo {
    /**
     * 设备保养计划id
     */
    private Integer maintainPlanId;
    /**
     * 设备保养计划单号
     */
    private String maintainPlanNo;
    /**
     * 设备ID
     */
    private Integer deviceId;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     *审核状态
     */
    private Integer auditState;
    /**
     * 创建日期
     */
    private String createDate;
    /**
     * 修改日期
     */
    private String modifyDate;
    /**
     * 备注
     */
    private String remark;
    /**
     * 数据状态
     */
    private Integer dataState;
    /**
     *@Description 以上是数据库对应字段,以下是衍生字段
     *@Author louk
     *@Date 14:25 2019/12/11
    */
    /**
     * 设备编号
      */
    private String deviceCode;
    /**
     * 设备名称
     */
    private String deviceName;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 状态名称
     */
    private String auditStateName;

    public String getAuditStateName() {
        return auditStateName;
    }

    public void setAuditStateName(String auditStateName) {
        this.auditStateName = auditStateName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public void setModifyDate(String modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public Integer getMaintainPlanId() {
        return maintainPlanId;
    }

    public void setMaintainPlanId(Integer maintainPlanId) {
        this.maintainPlanId = maintainPlanId;
    }

    public String getMaintainPlanNo() {
        return maintainPlanNo;
    }

    public void setMaintainPlanNo(String maintainPlanNo) {
        this.maintainPlanNo = maintainPlanNo == null ? null : maintainPlanNo.trim().replace(" ","");
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getAuditState() {
        return auditState;
    }

    public void setAuditState(Integer auditState) {
        this.auditState = auditState;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim().replace(" ","");
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

    public String getCreateDate() {
        return createDate;
    }

    public String getModifyDate() {
        return modifyDate;
    }
}